package com.ruge.system.pojo.entity;

import com.ruge.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 创建人 ：爱丽丝、如歌
 * 创建时间 ：2020-03-04  18:27
 * 描述 ： 系统日志表
 */
@Data
@Entity
@ApiModel(value="系统登录日志表")
public class SysLogInfo extends BaseEntity {
    @ApiModelProperty(name = "用户id")
    @Column(columnDefinition = "BIGINT COMMENT '用户id'")
    private Long userId;
    @ApiModelProperty(name = "用户名")
    @Column(columnDefinition = "varchar(100) COMMENT '用户名'")
    private String userName;
    @ApiModelProperty(name = "ip地址")
    @Column(columnDefinition = "varchar(100) COMMENT 'ip'")
    private String ip;
}
